<?php
/**
 * ExtComponent class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtComponent extends ExtComponentBase
{
    /**
     * Gets the value of ExtJS autoShow property
     * @return Boolean 
     */
    public function getAutoShow()
    {
    	return $this->getConfig("autoshow");
    }

    /**
     * Sets the value of ExtJS autoShow property
     * @param Boolean $value 
     */
    public function setAutoShow($value)
    {
    	$this->setConfig("autoshow",$value);
    }

    /**
     * Gets the value of ExtJS clearCls property
     * @return String 
     */
    public function getClearCls()
    {
    	return $this->getConfig("clearcls");
    }

    /**
     * Sets the value of ExtJS clearCls property
     * @param String $value 
     */
    public function setClearCls($value)
    {
    	$this->setConfig("clearcls",$value);
    }

    /**
     * Gets the value of ExtJS cls property
     * @return String 
     */
    public function getCls()
    {
    	return $this->getConfig("cls");
    }

    /**
     * Sets the value of ExtJS cls property
     * @param String $value 
     */
    public function setCls($value)
    {
    	$this->setConfig("cls",$value);
    }

    /**
     * Gets the value of ExtJS ctCls property
     * @return String 
     */
    public function getCtCls()
    {
    	return $this->getConfig("ctcls");
    }

    /**
     * Sets the value of ExtJS ctCls property
     * @param String $value 
     */
    public function setCtCls($value)
    {
    	$this->setConfig("ctcls",$value);
    }

    /**
     * Gets the value of ExtJS disabled property
     * @return Boolean 
     */
    public function getDisabled()
    {
    	return $this->getConfig("disabled");
    }

    /**
     * Sets the value of ExtJS disabled property
     * @param Boolean $value 
     */
    public function setDisabled($value)
    {
    	$this->setConfig("disabled",$value);
    }

    /**
     * Gets the value of ExtJS disabledClass property
     * @return String 
     */
    public function getDisabledClass()
    {
    	return $this->getConfig("disabledclass");
    }

    /**
     * Sets the value of ExtJS disabledClass property
     * @param String $value 
     */
    public function setDisabledClass($value)
    {
    	$this->setConfig("disabledclass",$value);
    }

    /**
     * Gets the value of ExtJS fieldLabel property
     * @return String 
     */
    public function getFieldLabel()
    {
    	return $this->getConfig("fieldlabel");
    }

    /**
     * Sets the value of ExtJS fieldLabel property
     * @param String $value 
     */
    public function setFieldLabel($value)
    {
    	$this->setConfig("fieldlabel",$value);
    }

    /**
     * Gets the value of ExtJS hidden property
     * @return Boolean 
     */
    public function getHidden()
    {
    	return $this->getConfig("hidden");
    }

    /**
     * Sets the value of ExtJS hidden property
     * @param Boolean $value 
     */
    public function setHidden($value)
    {
    	$this->setConfig("hidden",$value);
    }

    /**
     * Gets the value of ExtJS hideLabel property
     * @return Boolean 
     */
    public function getHideLabel()
    {
    	return $this->getConfig("hidelabel");
    }

    /**
     * Sets the value of ExtJS hideLabel property
     * @param Boolean $value 
     */
    public function setHideLabel($value)
    {
    	$this->setConfig("hidelabel",$value);
    }

    /**
     * Gets the value of ExtJS hideParent property
     * @return Boolean 
     */
    public function getHideParent()
    {
    	return $this->getConfig("hideparent");
    }

    /**
     * Sets the value of ExtJS hideParent property
     * @param Boolean $value 
     */
    public function setHideParent($value)
    {
    	$this->setConfig("hideparent",$value);
    }

    /**
     * Gets the value of ExtJS html property
     * @return String/Object 
     */
    public function getHtml()
    {
    	return $this->getConfig("html");
    }

    /**
     * Sets the value of ExtJS html property
     * @param String/Object $value 
     */
    public function setHtml($value)
    {
    	$this->setConfig("html",$value);
    }

    /**
     * Gets the value of ExtJS itemCls property
     * @return String 
     */
    public function getItemCls()
    {
    	return $this->getConfig("itemcls");
    }

    /**
     * Sets the value of ExtJS itemCls property
     * @param String $value 
     */
    public function setItemCls($value)
    {
    	$this->setConfig("itemcls",$value);
    }

    /**
     * Gets the value of ExtJS itemId property
     * @return String 
     */
    public function getItemId()
    {
    	return $this->getConfig("itemid");
    }

    /**
     * Sets the value of ExtJS itemId property
     * @param String $value 
     */
    public function setItemId($value)
    {
    	$this->setConfig("itemid",$value);
    }

    /**
     * Gets the value of ExtJS labelSeparator property
     * @return String 
     */
    public function getLabelSeparator()
    {
    	return $this->getConfig("labelseparator");
    }

    /**
     * Sets the value of ExtJS labelSeparator property
     * @param String $value 
     */
    public function setLabelSeparator($value)
    {
    	$this->setConfig("labelseparator",$value);
    }

    /**
     * Gets the value of ExtJS labelStyle property
     * @return String 
     */
    public function getLabelStyle()
    {
    	return $this->getConfig("labelstyle");
    }

    /**
     * Sets the value of ExtJS labelStyle property
     * @param String $value 
     */
    public function setLabelStyle($value)
    {
    	$this->setConfig("labelstyle",$value);
    }

    /**
     * Gets the value of ExtJS overCls property
     * @return String 
     */
    public function getOverCls()
    {
    	return $this->getConfig("overcls");
    }

    /**
     * Sets the value of ExtJS overCls property
     * @param String $value 
     */
    public function setOverCls($value)
    {
    	$this->setConfig("overcls",$value);
    }

    /**
     * Gets the value of ExtJS style property
     * @return String 
     */
    public function getStyle()
    {
    	return $this->getConfig("style");
    }

    /**
     * Sets the value of ExtJS style property
     * @param String $value 
     */
    public function setStyle($value)
    {
    	$this->setConfig("style",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'autoshow' => 'autoShow',
            'clearcls' => 'clearCls',
            'ctcls' => 'ctCls',
            'disabledclass' => 'disabledClass',
            'fieldlabel' => 'fieldLabel',
            'hidelabel' => 'hideLabel',
            'hideparent' => 'hideParent',
            'itemcls' => 'itemCls',
            'itemid' => 'itemId',
            'labelseparator' => 'labelSeparator',
            'labelstyle' => 'labelStyle',
            'overcls' => 'overCls'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'added' => array('sender','ownerCt','index'),
            'afterrender' => array('sender'),
            'beforedestroy' => array('sender'),
            'beforehide' => array('sender'),
            'beforerender' => array('sender'),
            'beforeshow' => array('sender'),
            'beforestaterestore' => array('sender','state'),
            'beforestatesave' => array('sender','state'),
            'destroy' => array('sender'),
            'disable' => array('sender'),
            'enable' => array('sender'),
            'hide' => array('sender'),
            'removed' => array('sender','ownerCt'),
            'render' => array('sender'),
            'show' => array('sender'),
            'staterestore' => array('sender','state'),
            'statesave' => array('sender','state')
        ));


        $this->proptags = array_merge($this->proptags,array(
            'plugins' => true
        ));
        $this->setXType(null);
        $this->setXClass('Ext.Component');
    }    
}
?>